Maintain a list for the stacking order of windows. Implement lower and
authorRichard Hult <richard@imendio.com>
Tue, 23 Oct 2007 13:06:31 +0000 (13:06 +0000)
committerRichard Hult <rhult@src.gnome.org>
Tue, 23 Oct 2007 13:06:31 +0000 (13:06 +0000)
commitc42c7be0501b33730adb107727f6a31c931df6a5
tree416ec6966c6dbfc787b8c8d67cbb3ec03ae1fe2e
parent1f36660d8d9186db86ad5db22b2d99d3f7b446c2
Maintain a list for the stacking order of windows. Implement lower and

2007-10-23  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_raise, gdk_window_lower, gdk_window_new,
_gdk_windowing_window_destroy): Maintain a list for the stacking
order of windows. Implement lower and raise for child windows. The
list for toplevels is created on demand, and cleared when a window
gets or resigns main status and when new windows are created.
(find_child_window_helper): Use the sorted list to go through
windows from top to bottom. Take any titlebar in consideration for
toplevels, to stop events from sometimes punching through (bugs
#473813 and #489370).

svn path=/trunk/; revision=18940
ChangeLog
gdk/quartz/gdkwindow-quartz.c
gdk/quartz/gdkwindow-quartz.h